package com.oocl.service.impl;

import com.oocl.dao.CustomerDao;
import com.oocl.dao.impl.CustomerDaoImpl;
import com.oocl.entity.Customer;
import com.oocl.service.CustomerService;

public class CustomerServiceImpl implements CustomerService {
	private CustomerDao customerDao = new CustomerDaoImpl();

	public Customer login(String account, String password) {
		Customer customer = customerDao.findCustomer(account, password);
		return customer;
	}

}
